</parameter>
</parameters>
</method>
- <method name="summary" c:identifier="ostree_sign_summary" throws="1">
+ <method name="summary"
+ c:identifier="ostree_sign_summary"
+ version="2020.2"
+ throws="1">
<doc xml:space="preserve"
filename="ostree-sign.c"
line="584">Add a signature to a summary file.
mod se_policy;
pub use self::se_policy::{SePolicy, SePolicyClass};
+#[cfg(any(feature = "v2020_2", feature = "dox"))]
mod sign;
+#[cfg(any(feature = "v2020_2", feature = "dox"))]
pub use self::sign::{Sign, NONE_SIGN};
+#[cfg(any(feature = "v2020_2", feature = "dox"))]
pub use self::sign::SignExt;
mod sysroot;
pub use super::RepoFinderMountExt;
#[cfg(any(feature = "v2018_6", feature = "dox"))]
pub use super::RepoFinderOverrideExt;
+ #[cfg(any(feature = "v2020_2", feature = "dox"))]
pub use super::SignExt;
}
// from gir-files (https://github.com/gtk-rs/gir-files)
// DO NOT EDIT
+#[cfg(any(feature = "v2020_2", feature = "dox"))]
use gio;
+#[cfg(any(feature = "v2020_2", feature = "dox"))]
use glib;
use glib::object::IsA;
use glib::translate::*;
use glib::GString;
use ostree_sys;
use std::fmt;
+#[cfg(any(feature = "v2020_2", feature = "dox"))]
use std::ptr;
+#[cfg(any(feature = "v2020_2", feature = "dox"))]
use Repo;
glib_wrapper! {
#[cfg(any(feature = "v2020_2", feature = "dox"))]
fn set_sk(&self, secret_key: &glib::Variant) -> Result<(), glib::Error>;
+ #[cfg(any(feature = "v2020_2", feature = "dox"))]
fn summary<P: IsA<gio::Cancellable>>(&self, repo: &Repo, keys: &glib::Variant, cancellable: Option<&P>) -> Result<(), glib::Error>;
}
}
}
+ #[cfg(any(feature = "v2020_2", feature = "dox"))]
fn summary<P: IsA<gio::Cancellable>>(&self, repo: &Repo, keys: &glib::Variant, cancellable: Option<&P>) -> Result<(), glib::Error> {
unsafe {
let mut error = ptr::null_mut();
Generated by gir (https://github.com/gtk-rs/gir @ 2d1ffab1)
-from gir-files (https://github.com/gtk-rs/gir-files @ e0f160c+)
+from gir-files (https://github.com/gtk-rs/gir-files @ a7da7c9+)
Generated by gir (https://github.com/gtk-rs/gir @ 2d1ffab1)
-from gir-files (https://github.com/gtk-rs/gir-files @ e0f160c+)
+from gir-files (https://github.com/gtk-rs/gir-files @ a7da7c9+)
pub fn ostree_sign_set_pk(self_: *mut OstreeSign, public_key: *mut glib::GVariant, error: *mut *mut glib::GError) -> gboolean;
#[cfg(any(feature = "v2020_2", feature = "dox"))]
pub fn ostree_sign_set_sk(self_: *mut OstreeSign, secret_key: *mut glib::GVariant, error: *mut *mut glib::GError) -> gboolean;
+ #[cfg(any(feature = "v2020_2", feature = "dox"))]
pub fn ostree_sign_summary(self_: *mut OstreeSign, repo: *mut OstreeRepo, keys: *mut glib::GVariant, cancellable: *mut gio::GCancellable, error: *mut *mut glib::GError) -> gboolean;
//=========================================================================